package com.ttxs.generator.remote.dto;

import com.ttxs.generator.vo.Token;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@ToString
@Accessors(chain = true)
@NoArgsConstructor
@EqualsAndHashCode(callSuper=true)
public class MenuDTO extends AbstractDTO {
    private Long menuId;
    private String platformId;
    private String menuName;
    private Long parentId;
    private String apiUrl;
    private String httpMethod;
    private String path;
    private String component;
    private String menuType;
    private String visible;
    private String status;
    private String createBy;
    private Boolean restful;
    private boolean springCloud;

    public MenuDTO(String url, Token token) {
        super(url, token);
    }
}
